/** @format */

import { createApp } from 'vue'
import './style.css'
import { onSetDirective } from '@/directive/Index'
import ElementPlus from '@shixinde/element-promax'
import '@shixinde/element-promax/dist/index.css'
import Katex from 'vue-katex-auto-render'
import '@shixinde/guoguo-style/index.css'

import App from './App.vue'
const Vue = createApp(App)

// console.log(ElementPlus, 'ElementPlus')
// 自定义指令
onSetDirective(Vue)

//引入组件
// import UseSpace from '@/components/use-space.vue'
//全局注册
// Vue.component('UseSpace', UseSpace)

Vue.directive('katex', Katex)

Vue.use(ElementPlus).mount('#app')
